package com.example.hotel_lxy.bean;

import java.util.List;

public class PotentiaInfoBean {

    /**
     * code : 0
     * msg : 成功
     * data : {"list":[{"id":10,"t_name":"生日宴","begin_night":1,"book":"25号","addtime":"2021-04-21 17:51:08","type":1,"director":"14"}],"banquet":{"name":"小会议室","time":"2021-4-21"}}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":10,"t_name":"生日宴","begin_night":1,"book":"25号","addtime":"2021-04-21 17:51:08","type":1,"director":"14"}]
         * banquet : {"name":"小会议室","time":"2021-4-21"}
         */

        private BanquetBean banquet;
        private List<ListBean> list;

        public BanquetBean getBanquet() {
            return banquet;
        }

        public void setBanquet(BanquetBean banquet) {
            this.banquet = banquet;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class BanquetBean {
            /**
             * name : 小会议室
             * time : 2021-4-21
             */

            private String name;
            private String time;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }
        }

        public static class ListBean {
            /**
             * id : 10
             * t_name : 生日宴
             * begin_night : 1
             * book : 25号
             * addtime : 2021-04-21 17:51:08
             * type : 1
             * director : 14
             */

            private int id;
            private String t_name;
            private int begin_night;
            private String book;
            private String addtime;
            private int type;
            private String director;
            private String is_del;

            public String getIs_del() {
                return is_del;
            }

            public void setIs_del(String is_del) {
                this.is_del = is_del;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getT_name() {
                return t_name;
            }

            public void setT_name(String t_name) {
                this.t_name = t_name;
            }

            public int getBegin_night() {
                return begin_night;
            }

            public void setBegin_night(int begin_night) {
                this.begin_night = begin_night;
            }

            public String getBook() {
                return book;
            }

            public void setBook(String book) {
                this.book = book;
            }

            public String getAddtime() {
                return addtime;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getDirector() {
                return director;
            }

            public void setDirector(String director) {
                this.director = director;
            }
        }
    }
}
